<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="description" content="{$appConfigs[member_title]}">
	<title>{$title}{if $moduletitle}{C 'title_sperator' '-'}{$moduletitle}{/if}</title>
	<meta name="keyword" value="{$keyword}" >
	<meta name="description" value="{$description}" >
    {run $pageName = "login"}
    {include member.inc.csslink}
</head>
<body>
{include member.inc.header_login}
<main class="login_main" style="background: url({$adBanner.content});">
    <div class="max-w">
        <a class="hotClick fl" href="{$adBanner.link}" target="{if $adBanner[target]==1}_blank{/if}">了解详情</a>
        <section class="panel_form fr {$verifyCodeEnable}">
            <div class="header"><h1>登录{$wrongNum}</h1></div>
            <form class="form" method="POST" action="{url /member/login/index}">
                <input type="hidden" name="dir" value="{$dir}">
                <ul class="errorWrap">
                    <li><label class="error">{$wrong}</label></li>
                </ul>
                <div class="row">
                    <i class="user"></i><input type="text" name="username"  placeholder="请输入手机号" class="form-control"  id="mobile"/>
                </div>
                <div class="row">
                    <i class="pwd"></i><input type="password" name="pwd" placeholder="请输入6-20位的密码" class="form-control"/>
                </div>


                <div class="row vcodeWrap none">

                    <i class="vcode"></i><input type="text" name="vcode" placeholder="请输入验证码" class="form-control"/>
                    <!-- <a href="javascript:;" class="getCode_btn">获取验证码</a> -->

                    <a class="getCode_btn" style="padding:0px;margin:0px;"><img onclick="$(this).attr('src','{url /utils/verifyCode/index}?s=1&r='+Math.random())" src="{url /utils/verifyCode/index}?s=1" ></a>
                </div>
                <div class="tip checkbox-wrap">
                    <input type="checkbox"  name="remember" id="remember"/>
                    <label for="remember" class="check_box">记住我</label>
                    <a class="fr link2" href="/member/login/forget">忘记密码 ?</a>
                </div>
                <a href="javascript:;" class="sub_btn">登录</a>
                <div class="to_login clearfix">
                    <p class="fr c-info"> 没有账号? <a href="/member/reg/index" class="link2">立即注册</a></p>
                </div>
            </form>
        </section>

    </div>
</main>

{include member.inc.footer}
{include member.inc.script}

<script>
   seajs.use('login',function(login){
      // login.wrong="{$wrong}";//用于后端返回注册错误
       login.vcodeEnable="{$verifyCodeEnable}";//是否显示验证码
       login.login();
   });
</script>
{include member.inc.foot_hook}
</body>
</html>
